#-------------------------------------------------
#
# Project created by QtCreator 2011-07-20T00:42:53
#
#-------------------------------------------------

QT       += core gui xml

TARGET = mlgesture
TEMPLATE = lib

LIBS += \
	-L /usr/local/lib/

INCLUDEPATH += /usr/local/include/opencv/ /usr/local/include/

DEFINES += MLGESTURE_LIBRARY

SOURCES += \
    hmm.cpp \
    handtracker.cpp \
    handgestureexception.cpp \
    handdetector.cpp \
    gestureutils.cpp \
    dialogs/skinthresholddialog.cpp \
    svm.cpp \
    mlgesture.cpp \
    trajectory.cpp \
    control.cpp \
    dynamicgesture.cpp \
    staticgesture.cpp \
    skindetector.cpp \
    gestureevent.cpp \
    statechangeevent.cpp \
    handsmoveevent.cpp \
    staticbeginevent.cpp \
    staticendevent.cpp \
    dynamicevent.cpp \
    handgestureevent.cpp \
    eventmanager.cpp

HEADERS +=\
    hmm.h \
    handtracker.h \
    handlostexception.h \
    handgestureexception.h \
    handdetector.h \
    gestureutils.h \
    dialogs/skinthresholddialog.h \
    svm.h \
    mlgesture.h \
    mlgesture_global.h \
    trajectory.h \
    control.h \
    dynamicgesture.h \
    staticgesture.h \
    skindetector.h \
    gestureevent.h \
    statechangeevent.h \
    handsmoveevent.h \
    staticbeginevent.h \
    staticendevent.h \
    dynamicevent.h \
    handgestureevent.h \
    gestureobserver.h \
    eventmanager.h \
    mlgesture_config.h

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/local/lib
    }
    INSTALLS += target
}

FORMS += \
    dialogs/skinthresholddialog.ui

CONFIG += sse sse2

QMAKE_CXXFLAGS+= -g
QMAKE_LFLAGS+= -g
